#ifndef _SWITCH_H_
#define _SWITCH_H_

#include <stdint.h>

#define HeatControl_Switch_initialize()

#define HEATCONTROL_SWITCH_LOCAL_DECLS \
			int32_t HeatControl_Switch_controlInputValue = 0; \
			int32_t HeatControl_Switch_onTrueInputValue = 0; \
			int32_t HeatControl_Switch_onFalseInputValue = 0;

#define HeatControl_Switch_OnTrue_consumeInputValue(value) \
					HeatControl_Switch_onTrueInputValue = (value);
#define HeatControl_Switch_Control_consumeInputValue(value) \
					HeatControl_Switch_controlInputValue = (value);
#define HeatControl_Switch_OnFalse_consumeInputValue(value) \
					HeatControl_Switch_onFalseInputValue = (value);

#define HeatControl_Switch_computeOutputValues()

#define HeatControl_Switch_Output_getOutputValue() \
			(HeatControl_Switch_controlInputValue != 0 ? HeatControl_Switch_onTrueInputValue : HeatControl_Switch_onFalseInputValue)

#define HeatControl_Switch_update()

#endif /* _SWITCH_H_ */
